/**
 * Generate time : 2011-06-21 11:05:59
 * Version : 1.0.1.V20070717
 */
package com.baosight.sczx.zm.cm.domain;

import com.baosight.iplat4j.util.NumberUtils;
import com.baosight.iplat4j.core.ei.EiColumn;
import com.baosight.iplat4j.ep.DaoEPBase;
import java.util.HashMap;
import java.util.Map;
import com.baosight.iplat4j.util.StringUtils;

/**
 * ZMCMExportApplicationDetail
 * 
 */
public class ZMCMExportApplicationDetail extends DaoEPBase {

	private String fdKeyId = " "; /* 主键 */
	private String fdApplicationId = " "; /* 领料申请主键 */
	private String fdRequirePlan = " "; /* 对应需求计划 */
	private String fdPlanType = " "; /* 计划类型 */
	private String fdApplicationType = " "; /* 领料类型 */
	private String fdApplyProject = " "; /* 适用工程 */
	private String fdMaterialId = " "; /* 物资ID */
	private String fdMaterialCode = " "; /* 计划物资编码 */
	private String fdMaterialName = " "; /* 计划物资名称 */
	private String fdMaterialCodeNew = " "; /* 新物资编码 */
	private String fdMaterialNameNew = " "; /* 新物资名称 */
	private String fdMaterial = " "; /* 物资名称 */
	private String fdSpecModel = " "; /* 规格型号 */
	private String fdNumber = " "; /* 图号 */
	private String fdQuality = " "; /* 材质 */
	private String fdMetric = " "; /* 计量单位 */
	private String fdStatus = " "; /* 领料状态 */
	private String fdYear = " "; /* 领料年份 */
	private String fdMonth = " "; /* 领料月份 */
	private Double fdNum = new Double(0); /* 库存数量 */
	private Double fdApplicationNumber = new Double(0); /* 申请数量 */
	private Double fdAuditNumber = new Double(0); /* 审批数量 */
	private Double fdActualNumber = new Double(0); /* 实发数量 */
	private Double fdExportedNumber = new Double(0); /* 已发数量 */
	private Double fdPurchaseNum = new Double(0); /* 需求数量 */
	private Double fdReturnNumber = new Double(0); /* 交旧数量 */
	private Double fdApplicationExportNum = new Double(0); /* 已申请领用数量 */
	private Double fdPrice = new Double(0); /* 单价 */;
	private Double fdActualPrice = new Double(0); /* 实际单价 */;
	private Double fdApplicationSum = new Double(0); /* 总额 */;
	private Double fdSum = new Double(0);// 实发金额
	private Double fdActualSum = new Double(0); /* 实际金额 */
	private Double fdHasinvoicenum = new Double(0); /* 有发票数量 */
	private Double fdNoinvoicenum = new Double(0); /* 无发票数量 */
	// 新加列

	private String fdFinanceClassify = " ";// 资金分类
	private String fdBusinessType = " ";// 业务类型
	private String fdMaterialType = " ";// 物资类型
	private String fdDepotName = " "; // 库房名称
	private String fdDepotCode = "";// 库房编号

	/**
	 * initialize the metadata
	 */
	public void initMetaData() {
		EiColumn eiColumn;

		eiColumn = new EiColumn("fdKeyId");
		eiColumn.setPrimaryKey(true);
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("主键");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdApplicationId");
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("领料申请主键");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdRequirePlan");
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("对应需求计划");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdPlanType");
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("计划类型");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdApplicationType");
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("领料类型");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdApplyProject");
		eiColumn.setFieldLength(320);
		eiColumn.setDescName("适用工程");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMaterialId");
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("物资ID");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMaterialCode");
		eiColumn.setFieldLength(30);
		eiColumn.setDescName("物资编码");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMaterialName");
		eiColumn.setFieldLength(80);
		eiColumn.setDescName("计划物资名称");
		eiMetadata.addMeta(eiColumn);
		
		eiColumn = new EiColumn("fdMaterialCodeNew");
		eiColumn.setFieldLength(30);
		eiColumn.setDescName("新物资编码");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMaterialNameNew");
		eiColumn.setFieldLength(80);
		eiColumn.setDescName("新物资名称");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMaterial");
		eiColumn.setFieldLength(80);
		eiColumn.setDescName("物资名称");
		eiMetadata.addMeta(eiColumn);
		
		eiColumn = new EiColumn("fdSpecModel");
		eiColumn.setFieldLength(50);
		eiColumn.setDescName("规格型号");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdNumber");
		eiColumn.setFieldLength(50);
		eiColumn.setDescName("图号");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdQuality");
		eiColumn.setFieldLength(50);
		eiColumn.setDescName("材质");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMetric");
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("计量单位");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdStatus");
		eiColumn.setFieldLength(10);
		eiColumn.setDescName("领料状态");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdYear");
		eiColumn.setFieldLength(10);
		eiColumn.setDescName("领料年份");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdMonth");
		eiColumn.setFieldLength(10);
		eiColumn.setDescName("领料月份");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdNum");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("库存数量");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdApplicationNumber");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("申请数量");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdAuditNumber");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("审批数量");
		eiMetadata.addMeta(eiColumn);
		
		eiColumn = new EiColumn("fdReturnNumber");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("交旧数量");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdActualNumber");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("实发数量");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdExportedNumber");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("已发数量");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdApplicationExportNum");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("已申请领用数量");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdPurchaseNum");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("需求数量");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdPrice");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("单价");
		eiMetadata.addMeta(eiColumn);
		
		eiColumn = new EiColumn("fdActualPrice");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("实际单价");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdApplicationSum");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("总额");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdSum");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("实发金额");
		eiMetadata.addMeta(eiColumn);
		
		eiColumn = new EiColumn("fdActualSum");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("实际金额");
		eiMetadata.addMeta(eiColumn);
		
		eiColumn = new EiColumn("fdHasinvoicenum");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("有发票数量");
		eiMetadata.addMeta(eiColumn);
		
		eiColumn = new EiColumn("fdNoinvoicenum");
		eiColumn.setType("N");
		eiColumn.setScaleLength(5);
		eiColumn.setFieldLength(15);
		eiColumn.setDescName("无发票数量");
		eiMetadata.addMeta(eiColumn);

		// 新增列
		eiColumn = new EiColumn("fdFinanceClassify");
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("资金分类");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdBusinessType");
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("业务类型");
		eiMetadata.addMeta(eiColumn);
		
		eiColumn = new EiColumn("fdMaterialType");
		eiColumn.setFieldLength(10);
		eiColumn.setDescName("物资类型");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdDepotName");
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("库房名称");
		eiMetadata.addMeta(eiColumn);

		eiColumn = new EiColumn("fdDepotCode");
		eiColumn.setFieldLength(32);
		eiColumn.setDescName("库房编号");
		eiMetadata.addMeta(eiColumn);
	}

	/**
	 * the constructor
	 */
	public ZMCMExportApplicationDetail() {
		initMetaData();
	}

	/**
	 * get the fdKeyId - 主键
	 * 
	 * @return the fdKeyId
	 */
	public String getFdKeyId() {
		return this.fdKeyId;
	}

	/**
	 * set the fdKeyId - 主键
	 */
	public void setFdKeyId(String fdKeyId) {
		this.fdKeyId = fdKeyId;
	}

	/**
	 * get the fdApplicationId - 领料申请主键
	 * 
	 * @return the fdApplicationId
	 */
	public String getFdApplicationId() {
		return this.fdApplicationId;
	}

	/**
	 * set the fdApplicationId - 领料申请主键
	 */
	public void setFdApplicationId(String fdApplicationId) {
		this.fdApplicationId = fdApplicationId;
	}

	/**
	 * get the fdRequirePlan - 对应需求计划
	 * 
	 * @return the fdRequirePlan
	 */
	public String getFdRequirePlan() {
		return this.fdRequirePlan;
	}

	/**
	 * set the fdRequirePlan - 对应需求计划
	 */
	public void setFdRequirePlan(String fdRequirePlan) {
		this.fdRequirePlan = fdRequirePlan;
	}

	/**
	 * get the fdPlanType - 计划类型
	 * 
	 * @return the fdPlanType
	 */
	public String getFdPlanType() {
		return this.fdPlanType;
	}

	/**
	 * set the fdPlanType - 计划类型
	 */
	public void setFdPlanType(String fdPlanType) {
		this.fdPlanType = fdPlanType;
	}

	/**
	 * get the fdApplicationType - 领料类型
	 * 
	 * @return the fdApplicationType
	 */
	public String getFdApplicationType() {
		return this.fdApplicationType;
	}

	/**
	 * set the fdApplicationType - 领料类型
	 */
	public void setFdApplicationType(String fdApplicationType) {
		this.fdApplicationType = fdApplicationType;
	}

	/**
	 * get the fdApplyProject - 适用工程
	 * 
	 * @return the fdApplyProject
	 */
	public String getFdApplyProject() {
		return this.fdApplyProject;
	}

	/**
	 * set the fdApplyProject - 适用工程
	 */
	public void setFdApplyProject(String fdApplyProject) {
		this.fdApplyProject = fdApplyProject;
	}

	/**
	 * get the fdMaterialId - 物资ID
	 * 
	 * @return the fdMaterialId
	 */
	public String getFdMaterialId() {
		return this.fdMaterialId;
	}

	/**
	 * set the fdMaterialId - 物资ID
	 */
	public void setFdMaterialId(String fdMaterialId) {
		this.fdMaterialId = fdMaterialId;
	}

	/**
	 * get the fdMaterialCode - 物资编码
	 * 
	 * @return the fdMaterialCode
	 */
	public String getFdMaterialCode() {
		return this.fdMaterialCode;
	}

	/**
	 * set the fdMaterialCode - 物资编码
	 */
	public void setFdMaterialCode(String fdMaterialCode) {
		this.fdMaterialCode = fdMaterialCode;
	}

	/**
	 * get the fdMaterialName - 计划物资名称
	 * 
	 * @return the fdMaterialName
	 */
	public String getFdMaterialName() {
		return this.fdMaterialName;
	}

	/**
	 * set the fdMaterialName - 计划物资名称
	 */
	public void setFdMaterialName(String fdMaterialName) {
		this.fdMaterialName = fdMaterialName;
	}
	
	/**
	 * get the fdMaterialCodeNew - 新物资编码
	 * 
	 * @return the fdMaterialCodeNew
	 */
	public String getFdMaterialCodeNew() {
		return this.fdMaterialCodeNew;
	}

	/**
	 * set the fdMaterialCodeNew - 新物资编码
	 */
	public void setFdMaterialCodeNew(String fdMaterialCodeNew) {
		this.fdMaterialCodeNew = fdMaterialCodeNew;
	}

	/**
	 * get the fdMaterialNameNew - 新物资名称
	 * 
	 * @return the fdMaterialNameNew
	 */
	public String getFdMaterialNameNew() {
		return this.fdMaterialNameNew;
	}

	/**
	 * set the fdMaterialNameNew - 新物资名称
	 */
	public void setFdMaterialNameNew(String fdMaterialNameNew) {
		this.fdMaterialNameNew = fdMaterialNameNew;
	}

	/**
	 * get the fdMaterial - 物资名称
	 * 
	 * @return the fdMaterial
	 */
	public String getFdMaterial() {
		return this.fdMaterial;
	}

	/**
	 * set the fdMaterial - 物资名称
	 */
	public void setFdMaterial(String fdMaterial) {
		this.fdMaterial = fdMaterial;
	}
	
	/**
	 * get the fdSpecModel - 规格型号
	 * 
	 * @return the fdSpecModel
	 */
	public String getFdSpecModel() {
		return this.fdSpecModel;
	}

	/**
	 * set the fdSpecModel - 规格型号
	 */
	public void setFdSpecModel(String fdSpecModel) {
		this.fdSpecModel = fdSpecModel;
	}

	/**
	 * get the fdNumber - 图号
	 * 
	 * @return the fdNumber
	 */
	public String getFdNumber() {
		return this.fdNumber;
	}

	/**
	 * set the fdNumber - 图号
	 */
	public void setFdNumber(String fdNumber) {
		this.fdNumber = fdNumber;
	}

	/**
	 * get the fdQuality - 材质
	 * 
	 * @return the fdQuality
	 */
	public String getFdQuality() {
		return this.fdQuality;
	}

	/**
	 * set the fdQuality - 材质
	 */
	public void setFdQuality(String fdQuality) {
		this.fdQuality = fdQuality;
	}

	/**
	 * get the fdMetric - 计量单位
	 * 
	 * @return the fdMetric
	 */
	public String getFdMetric() {
		return this.fdMetric;
	}

	/**
	 * set the fdMetric - 计量单位
	 */
	public void setFdMetric(String fdMetric) {
		this.fdMetric = fdMetric;
	}

	/**
	 * get the fdStatus - 领料状态
	 * 
	 * @return the fdStatus
	 */
	public String getFdStatus() {
		return this.fdStatus;
	}

	/**
	 * set the fdStatus - 领料状态
	 */
	public void setFdStatus(String fdStatus) {
		this.fdStatus = fdStatus;
	}

	/**
	 * get the fdNum - 库存数量
	 * 
	 * @return the fdNum
	 */
	public Double getFdNum() {
		return this.fdNum;
	}

	/**
	 * set the fdNum - 库存数量
	 */
	public void setFdNum(Double fdNum) {
		this.fdNum = fdNum;
	}

	/**
	 * get the fdApplicationNumber - 申请数量
	 * 
	 * @return the fdApplicationNumber
	 */
	public Double getFdApplicationNumber() {
		return this.fdApplicationNumber;
	}

	/**
	 * set the fdApplicationNumber - 申请数量
	 */
	public void setFdApplicationNumber(Double fdApplicationNumber) {
		this.fdApplicationNumber = fdApplicationNumber;
	}

	/**
	 * get the fdAuditNumber - 审批数量
	 * 
	 * @return the fdAuditNumber
	 */
	public Double getFdAuditNumber() {
		return this.fdAuditNumber;
	}

	/**
	 * set the fdAuditNumber - 审批数量
	 */
	public void setFdAuditNumber(Double fdAuditNumber) {
		this.fdAuditNumber = fdAuditNumber;
	}

	/**
	 * get the fdActualNumber - 实发数量
	 * 
	 * @return the fdActualNumber
	 */
	public Double getFdActualNumber() {
		return this.fdActualNumber;
	}

	/**
	 * set the fdActualNumber - 实发数量
	 */
	public void setFdActualNumber(Double fdActualNumber) {
		this.fdActualNumber = fdActualNumber;
	}

	/**
	 * get the fdExportedNumber - 已发数量
	 * 
	 * @return the fdExportedNumber
	 */
	public Double getFdExportedNumber() {
		return this.fdExportedNumber;
	}

	/**
	 * set the fdExportedNumber - 已发数量
	 */
	public void setFdExportedNumber(Double fdExportedNumber) {
		this.fdExportedNumber = fdExportedNumber;
	}
	
	/**
	 * get the fdReturnNumber - 交旧数量
	 * 
	 * @return the fdReturnNumber
	 */
	public Double getFdReturnNumber() {
		return this.fdReturnNumber;
	}

	/**
	 * set the fdReturnNumber - 交旧数量
	 */
	public void setFdReturnNumber(Double fdReturnNumber) {
		this.fdReturnNumber = fdReturnNumber;
	}
	
	/**
	 * @return the fdFinanceClassify
	 */
	public String getFdFinanceClassify() {
		return fdFinanceClassify;
	}

	/**
	 * @param fdFinanceClassify
	 *            the fdFinanceClassify to set
	 */
	public void setFdFinanceClassify(String fdFinanceClassify) {
		this.fdFinanceClassify = fdFinanceClassify;
	}

	/**
	 * @return the fdBusinessType
	 */
	public String getFdBusinessType() {
		return fdBusinessType;
	}

	/**
	 * @param fdBusinessType
	 *            the fdBusinessType to set
	 */
	public void setFdBusinessType(String fdBusinessType) {
		this.fdBusinessType = fdBusinessType;
	}

	/**
	 * @return the fdDepotName
	 */
	public String getFdDepotName() {
		return fdDepotName;
	}

	/**
	 * @param fdDepotName
	 *            the fdDepotName to set
	 */
	public void setFdDepotName(String fdDepotName) {
		this.fdDepotName = fdDepotName;
	}

	/**
	 * @return the fdSum-实发金额
	 */
	public Double getFdSum() {
		return fdSum;
	}

	/**
	 * @param fdSum
	 *            the fdSum to set-实发金额
	 */
	public void setFdSum(Double fdSum) {
		this.fdSum = fdSum;
	}
	
	/**
	 * @return the fdActualSum-实际金额
	 */
	public Double getFdActualSum() {
		return fdActualSum;
	}

	/**
	 * @param fdActualSum
	 * the fdActualSum to set-实际金额
	 */
	public void setFdActualSum(Double fdActualSum) {
		this.fdActualSum = fdActualSum;
	}

	/**
	 * @return the fdDepotCode
	 */
	public String getFdDepotCode() {
		return fdDepotCode;
	}

	/**
	 * @param fdDepotCode
	 *            the fdDepotCode to set
	 */
	public void setFdDepotCode(String fdDepotCode) {
		this.fdDepotCode = fdDepotCode;
	}
	
	/**
	 * get the fdHasinvoicenum - 有发票数量
	 * 
	 * @return the fdHasinvoicenum
	 */
	public Double getFdHasinvoicenum() {
		return this.fdHasinvoicenum;
	}

	/**
	 * set the fdHasinvoicenum - 有发票数量
	 */
	public void setFdHasinvoicenum(Double fdHasinvoicenum) {
		this.fdHasinvoicenum = fdHasinvoicenum;
	}
	
	/**
	 * get the fdNoinvoicenum - 无发票数量
	 * 
	 * @return the fdNoinvoicenum
	 */
	public Double getFdNoinvoicenum() {
		return this.fdNoinvoicenum;
	}

	/**
	 * set the fdNoinvoicenum - 无发票数量
	 */
	public void setFdNoinvoicenum(Double fdNoinvoicenum) {
		this.fdNoinvoicenum = fdNoinvoicenum;
	}
	
	/**
	 * get the fdMaterialType - 物资类型
	 * 
	 * @return the fdMaterialType
	 */
	public String getFdMaterialType() {
		return this.fdMaterialType;
	}

	/**
	 * set the fdMaterialType - 物资类型
	 */
	public void setFdMaterialType(String fdMaterialType) {
		this.fdMaterialType = fdMaterialType;
	}

	/**
	 * get the value from Map
	 */
	@SuppressWarnings("rawtypes")
	public void fromMap(Map map) {

		setFdKeyId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKeyId")), fdKeyId));
		setFdApplicationId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdApplicationId")), fdApplicationId));
		setFdRequirePlan(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdRequirePlan")), fdRequirePlan));
		setFdPlanType(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdPlanType")), fdPlanType));
		setFdApplicationType(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdApplicationType")), fdApplicationType));
		setFdApplyProject(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdApplyProject")), fdApplyProject));
		setFdMaterialId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMaterialId")), fdMaterialId));
		setFdMaterialCode(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMaterialCode")), fdMaterialCode));
		setFdMaterialName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMaterialName")), fdMaterialName));
		setFdMaterialCodeNew(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMaterialCodeNew")), fdMaterialCodeNew));
		setFdMaterialNameNew(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMaterialNameNew")), fdMaterialNameNew));
		setFdMaterial(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMaterial")), fdMaterial));
		setFdSpecModel(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdSpecModel")), fdSpecModel));
		setFdNumber(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdNumber")), fdNumber));
		setFdQuality(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdQuality")), fdQuality));
		setFdMetric(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMetric")), fdMetric));
		setFdStatus(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdStatus")), fdStatus));
		setFdNum(NumberUtils.toDouble(StringUtils.toString(map.get("fdNum")), fdNum));
		setFdApplicationNumber(NumberUtils.toDouble(StringUtils.toString(map.get("fdApplicationNumber")), fdApplicationNumber));
		setFdAuditNumber(NumberUtils.toDouble(StringUtils.toString(map.get("fdAuditNumber")), fdAuditNumber));
		setFdActualNumber(NumberUtils.toDouble(StringUtils.toString(map.get("fdActualNumber")), fdActualNumber));
		setFdExportedNumber(NumberUtils.toDouble(StringUtils.toString(map.get("fdExportedNumber")), fdExportedNumber));
		setFdReturnNumber(NumberUtils.toDouble(StringUtils.toString(map.get("fdReturnNumber")), fdReturnNumber));
		setFdYear(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdYear")), fdYear));
		setFdMonth(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMonth")), fdMonth));

		setFdApplicationExportNum(NumberUtils.toDouble(StringUtils.toString(map.get("fdApplicationExportNum")), fdApplicationExportNum));
		setFdPurchaseNum(NumberUtils.toDouble(StringUtils.toString(map.get("fdPurchaseNum")), fdPurchaseNum));

		setFdPrice(NumberUtils.toDouble(StringUtils.toString(map.get("fdPrice")), fdPrice));
		setFdActualPrice(NumberUtils.toDouble(StringUtils.toString(map.get("fdActualPrice")), fdActualPrice));
		setFdApplicationSum(NumberUtils.toDouble(StringUtils.toString(map.get("fdApplicationSum")), fdApplicationSum));

		setFdMaterialType(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMaterialType")), fdMaterialType));
		setFdFinanceClassify(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFinanceClassify")), fdFinanceClassify));
		setFdBusinessType(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdBusinessType")), fdBusinessType));
		setFdDepotName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdDepotName")), fdDepotName));
		setFdSum(NumberUtils.toDouble(StringUtils.toString(map.get("fdSum")), fdSum));
		setFdActualSum(NumberUtils.toDouble(StringUtils.toString(map.get("fdActualSum")), fdActualSum));
		setFdDepotCode(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdDepotCode")), fdDepotCode));
		setFdHasinvoicenum(NumberUtils.toDouble(StringUtils.toString(map.get("fdHasinvoicenum")), fdHasinvoicenum));
		setFdNoinvoicenum(NumberUtils.toDouble(StringUtils.toString(map.get("fdNoinvoicenum")), fdNoinvoicenum));
	}

	/**
	 * set the value to Map
	 */
	@SuppressWarnings("rawtypes")
	public Map toMap() {

		Map<String, String> map = new HashMap<String, String>();
		map.put("fdKeyId", StringUtils.toString(fdKeyId, eiMetadata.getMeta("fdKeyId")));
		map.put("fdApplicationId", StringUtils.toString(fdApplicationId, eiMetadata.getMeta("fdApplicationId")));
		map.put("fdRequirePlan", StringUtils.toString(fdRequirePlan, eiMetadata.getMeta("fdRequirePlan")));
		map.put("fdPlanType", StringUtils.toString(fdPlanType, eiMetadata.getMeta("fdPlanType")));
		map.put("fdApplicationType", StringUtils.toString(fdApplicationType, eiMetadata.getMeta("fdApplicationType")));
		map.put("fdApplyProject", StringUtils.toString(fdApplyProject, eiMetadata.getMeta("fdApplyProject")));
		map.put("fdMaterialId", StringUtils.toString(fdMaterialId, eiMetadata.getMeta("fdMaterialId")));
		map.put("fdMaterialCode", StringUtils.toString(fdMaterialCode, eiMetadata.getMeta("fdMaterialCode")));
		map.put("fdMaterialName", StringUtils.toString(fdMaterialName, eiMetadata.getMeta("fdMaterialName")));
		map.put("fdMaterialCodeNew", StringUtils.toString(fdMaterialCodeNew, eiMetadata.getMeta("fdMaterialCodeNew")));
		map.put("fdMaterialNameNew", StringUtils.toString(fdMaterialNameNew, eiMetadata.getMeta("fdMaterialNameNew")));
		map.put("fdMaterial", StringUtils.toString(fdMaterial, eiMetadata.getMeta("fdMaterial")));
		map.put("fdSpecModel", StringUtils.toString(fdSpecModel, eiMetadata.getMeta("fdSpecModel")));
		map.put("fdNumber", StringUtils.toString(fdNumber, eiMetadata.getMeta("fdNumber")));
		map.put("fdQuality", StringUtils.toString(fdQuality, eiMetadata.getMeta("fdQuality")));
		map.put("fdMetric", StringUtils.toString(fdMetric, eiMetadata.getMeta("fdMetric")));
		map.put("fdStatus", StringUtils.toString(fdStatus, eiMetadata.getMeta("fdStatus")));
		map.put("fdNum", StringUtils.toString(fdNum, eiMetadata.getMeta("fdNum")));
		map.put("fdApplicationNumber", StringUtils.toString(fdApplicationNumber, eiMetadata.getMeta("fdApplicationNumber")));
		map.put("fdAuditNumber", StringUtils.toString(fdAuditNumber, eiMetadata.getMeta("fdAuditNumber")));
		map.put("fdActualNumber", StringUtils.toString(fdActualNumber, eiMetadata.getMeta("fdActualNumber")));
		map.put("fdExportedNumber", StringUtils.toString(fdExportedNumber, eiMetadata.getMeta("fdExportedNumber")));
		map.put("fdReturnNumber", StringUtils.toString(fdReturnNumber, eiMetadata.getMeta("fdReturnNumber")));
		map.put("fdYear", StringUtils.toString(fdYear, eiMetadata.getMeta("fdYear")));
		map.put("fdMonth", StringUtils.toString(fdMonth, eiMetadata.getMeta("fdMonth")));

		map.put("fdApplicationExportNum", StringUtils.toString(fdApplicationExportNum, eiMetadata.getMeta("fdApplicationExportNum")));
		map.put("fdPurchaseNum", StringUtils.toString(fdPurchaseNum, eiMetadata.getMeta("fdPurchaseNum")));
		map.put("fdPrice", StringUtils.toString(fdPrice, eiMetadata.getMeta("fdPrice")));
		map.put("fdActualPrice", StringUtils.toString(fdActualPrice, eiMetadata.getMeta("fdActualPrice")));
		map.put("fdApplicationSum", StringUtils.toString(fdApplicationSum, eiMetadata.getMeta("fdApplicationSum")));

		map.put("fdMaterialType", StringUtils.toString(fdMaterialType, eiMetadata.getMeta("fdMaterialType")));
		map.put("fdFinanceClassify", StringUtils.toString(fdFinanceClassify, eiMetadata.getMeta("fdFinanceClassify")));
		map.put("fdBusinessType", StringUtils.toString(fdBusinessType, eiMetadata.getMeta("fdBusinessType")));
		map.put("fdDepotName", StringUtils.toString(fdDepotName, eiMetadata.getMeta("fdDepotName")));
		map.put("fdSum", StringUtils.toString(fdSum, eiMetadata.getMeta("fdSum")));
		map.put("fdActualSum", StringUtils.toString(fdSum, eiMetadata.getMeta("fdActualSum")));
		map.put("fdDepotCode", StringUtils.toString(fdDepotCode, eiMetadata.getMeta("fdDepotCode")));
		map.put("fdHasinvoicenum", StringUtils.toString(fdHasinvoicenum, eiMetadata.getMeta("fdHasinvoicenum")));
		map.put("fdNoinvoicenum", StringUtils.toString(fdNoinvoicenum, eiMetadata.getMeta("fdNoinvoicenum")));
		return map;

	}

	public String getFdMonth() {
		return fdMonth;
	}

	public void setFdMonth(String fdMonth) {
		this.fdMonth = fdMonth;
	}

	public String getFdYear() {
		return fdYear;
	}

	public void setFdYear(String fdYear) {
		this.fdYear = fdYear;
	}

	public Double getFdApplicationExportNum() {
		return fdApplicationExportNum;
	}

	public void setFdApplicationExportNum(Double fdApplicationExportNum) {
		this.fdApplicationExportNum = fdApplicationExportNum;
	}

	public Double getFdPurchaseNum() {
		return fdPurchaseNum;
	}

	public void setFdPurchaseNum(Double fdPurchaseNum) {
		this.fdPurchaseNum = fdPurchaseNum;
	}

	public Double getFdPrice() {
		return fdPrice;
	}

	public void setFdPrice(Double fdPrice) {
		this.fdPrice = fdPrice;
	}
	
	public Double getFdActualPrice() {
		return fdActualPrice;
	}

	public void setFdActualPrice(Double fdActualPrice) {
		this.fdActualPrice = fdActualPrice;
	}

	public Double getFdApplicationSum() {
		return fdApplicationSum;
	}

	public void setFdApplicationSum(Double fdApplicationSum) {
		this.fdApplicationSum = fdApplicationSum;
	}
}